package com.lovo.dto;

import java.io.Serializable;

/**
 * 项目名: SpringCloud
 * 文件名: Ticket
 * 作者: pujiacheng
 * 日期: 2020/11/30
 * 描述:
 */
public class TicketDto implements Serializable {
    private String name;
    private Integer price;
    private String code;
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "Ticket{" +
                "name='" + name + '\'' +
                ", price=" + price +
                ", code='" + code + '\'' +
                '}';
    }
}
